<div id="{{id}}" class="modal fade">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">
        	<span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
        </button>
        <h4 class="modal-title">{{title}}</h4>
      </div>
      <div class="modal-body">
        <iframe class="hidden" src="{{src}}" frameborder="0" width="{{iframe_width}}" height="{{iframe_height}}" allowfullscreen mozallowfullscreen webkitallowfullscreen ng-if="has_iframe"></iframe>
        <div class="modal-loading" ng-if="has_iframe &&iframe_loaded">
        	<div class="am-modal-bd">
        		<span class="am-icon-spinner am-icon-spin"></span>
    		</div>
        </div>
        <div ng-if="!has_iframe" data-ng-bind-html="content"></div>
      </div>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
